﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class ErrorPage : System.Web.UI.Page
{
    //定义显示错误信息的变量
    public string ErrorMessage = "";
    protected void Page_Load(object sender, EventArgs e)
    {

        ErrorMessage = Request.QueryString["ErrorMessage"].ToString();
        if (ErrorMessage.Length == 0)
        {
            ErrorMessage = "系统出现错误，请联系管理员查看日志";
        }

    }
}
